<template>
	<div>
		<van-nav-bar title="注册" left-text="返回" left-arrow @click-left="onClickLeft" />
		<h3>我的个人信息</h3>
		<div >
			<div style="display: flex;">
				<p style="font-weight: bolder">用户名：</p>
				<p>{{username}}</p>
			</div>
			<div style="display: flex;">
				<p style="font-weight: bolder">电话：</p>
				<p>{{phone}}</p>
			</div>

		</div>
	</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				username: '',
				phone: ''
			}
		},
		methods: {
			onClickLeft() {
				this.$router.back()
			}
		},
		mounted() {
			this.username = this.$route.query.username;
			this.phone = this.$route.query.phone;
		}
	}
</script>

<style scoped>
</style>
